

    \filetitle{chksstate}{Check if equations hold for currently assigned steady-state values}{model/chksstate}

	\paragraph{Syntax}\label{syntax}

\begin{verbatim}
[Flag,List] = chksstate(M,...)
[Flag,Discr,List] = chksstate(M,...)
\end{verbatim}

\paragraph{Input arguments}\label{input-arguments}

\begin{itemize}
\itemsep1pt\parskip0pt\parsep0pt
\item
  \texttt{M} {[} model {]} - Model object.
\end{itemize}

\paragraph{Output arguments}\label{output-arguments}

\begin{itemize}
\item
  \texttt{Flag} {[} \texttt{true} \textbar{} \texttt{false} {]} - True
  if discrepancy between LHS and RHS is smaller than
  \texttt{'tolerance='} in each equation.
\item
  \texttt{Discr} {[} numeric {]} - Discrancy between LHS and RHS
  evaluated for each equation at two consecutive times.
\item
  \texttt{List} {[} cellstr {]} - List of equations in which the
  discrepancy between LHS and RHS is greater than \texttt{'tolerance='}.
\end{itemize}

\paragraph{Options}\label{options}

\begin{itemize}
\item
  \texttt{'error='} {[} \emph{\texttt{true}} \textbar{} \texttt{false}
  {]} - Throw an error if one or more equations do not hold.
\item
  \texttt{'eqtn='} {[} \emph{\texttt{'full'}} \textbar{}
  \texttt{'sstate'} {]} - Evaluate either full or steady-state equations
  on steady-state values.
\item
  \texttt{'refresh='} {[} \emph{\texttt{true}} \textbar{} \texttt{false}
  {]} - Refresh dynamic links before evaluating the equations.
\item
  \texttt{'tolerance='} {[} numeric \textbar{} \texttt{getrealsmall()}
  {]} - Tolerance.
\item
  \texttt{'warning='} {[} \emph{\texttt{true}} \textbar{} \texttt{false}
  {]} - Display warnings produced by this function.
\end{itemize}

\paragraph{Description}\label{description}

\paragraph{Example}\label{example}


